<template>
  <div>孙 {{ car }}</div>
  <el-button @click="updataCar">更新数据</el-button>
</template>

<script setup name="son">
import { ref, reactive,inject } from 'vue'
let car = inject('TOKEN')
console.log(car)

const updataCar = () => {
  car.value = '自行车'
}
</script>

<style lang='scss' scoped>

</style>